package com.yanqu.road.entity.config.patrons;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;

/**
 * 门客配置信息
 */
public class PatronsInfo {
	/**
	 * 编号
	 */
	private int id;
	/**
	 * 品质
	 */
	private int quality;
	/**
	 * 职业
	 */
	private int occupation;
	/**
	 * 初始资质
	 */
	private int qualification;
	/**
	 * 组合编号
	 */
	private int combId;
	/**
	 * 能否精进
	 */
	private boolean canStage;
	/**
	 * 技能编号
	 */
	private List<Integer> skillList = new ArrayList<>();
	/**
	 * 可解锁技能()
	 */
	private String unlockSkills;
	/**
	 * 可解锁技能
	 */
	private List<PatronsUnlockSkill> unlockSkillList = new ArrayList<>();


	/**
	 * 技能对应的解锁条件
	 */
	private Map<Integer,Map<Integer,Integer>> skillUnLockMap = new ConcurrentHashMap<>();
	/**
	 * 天赋编号
	 */
	private List<Integer> talentList = new ArrayList<>();
	/**
	 * 初始技能列表(增加等级上限的技能 作用的列表)
	 */
	private List<Integer> initSkillList = new ArrayList<>();

	/**
	 * 联动过期时间 毫秒级
	 * 0 表示木有联动
	 */
	private long linkAge;
	private boolean isTwins;		//是否双生

	/**
	 * 信物技能
	 */
	private int keepsake;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getQuality() {
		return quality;
	}

	public void setQuality(int quality) {
		this.quality = quality;
	}

	public int getOccupation() {
		return occupation;
	}

	public void setOccupation(int occupation) {
		this.occupation = occupation;
	}

	public int getQualification() {
		return qualification;
	}

	public void setQualification(int qualification) {
		this.qualification = qualification;
	}

	public int getCombId() {
		return combId;
	}

	public void setCombId(int combId) {
		this.combId = combId;
	}

	public boolean isCanStage() {
		return canStage;
	}

	public void setCanStage(boolean canStage) {
		this.canStage = canStage;
	}

	public List<Integer> getSkillList() {
		return skillList;
	}

	public void setSkillList(List<Integer> skillList) {
		this.skillList = skillList;
	}

	public List<Integer> getTalentList() {
		return talentList;
	}

	public void setTalentList(List<Integer> talentList) {
		this.talentList = talentList;
	}

	public long getLinkAge() {
		return linkAge;
	}

	public void setLinkAge(long linkAge) {
		this.linkAge = linkAge;
	}

	public boolean isTwins() {
		return isTwins;
	}

	public void setTwins(boolean twins) {
		isTwins = twins;
	}

	public List<Integer> getInitSkillList() {
		return initSkillList;
	}

	public void setInitSkillList(List<Integer> initSkillList) {
		this.initSkillList = initSkillList;
	}

	public Map<Integer, Map<Integer, Integer>> getSkillUnLockMap() {
		return skillUnLockMap;
	}

	public void setSkillUnLockMap(Map<Integer, Map<Integer, Integer>> skillUnLockMap) {
		this.skillUnLockMap = skillUnLockMap;
	}

	public String getUnlockSkills() {
		return unlockSkills;
	}

	public void setUnlockSkills(String unlockSkills) {
		this.unlockSkills = unlockSkills;
	}

	public List<PatronsUnlockSkill> getUnlockSkillList() {
		return unlockSkillList;
	}

	public void setUnlockSkillList(List<PatronsUnlockSkill> unlockSkillList) {
		this.unlockSkillList = unlockSkillList;
	}

	public int getKeepsake() {
		return keepsake;
	}

	public void setKeepsake(int keepsake) {
		this.keepsake = keepsake;
	}
}
